#include <iostream>
#include "item.h"
#include "mapitem.h"
using namespace std;

MapItem::MapItem(){
	walkable_ = false;
	isPortal_ = false;
	containsItem_ = false;
}

void MapItem::setWalkable(bool walkable){
	walkable_ = walkable;
}

bool MapItem::getWalkable(){
	return walkable_;
}

bool MapItem::isPortal()
{
       return isPortal_;
}

bool MapItem::containsItem()
{
       return containsItem_;
}

void MapItem::setItem(bool n)
{
       containsItem_ = n;
}

void MapItem::setPortal(bool n)
{
       isPortal_ = n;
}